package com.pxl.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxl.springbootinit.model.dto.item.ItemLogisticsForm;
import com.pxl.springbootinit.model.entity.ItemLogistics;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxl.springbootinit.model.vo.ItemLogisticsVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author MADAO
* @description 针对表【item_logistics(物品物流状态表)】的数据库操作Service
* @createDate 2024-12-20 12:02:23
*/
public interface ItemLogisticsService extends IService<ItemLogistics> {

    Boolean createLogistics(ItemLogisticsForm itemLogisticsForm, HttpServletRequest request);

    Page<ItemLogisticsVO> pageLogistics(ItemLogisticsForm itemLogisticsForm, HttpServletRequest request);

    ItemLogisticsVO getItemLogisticsVO(ItemLogistics itemLogistics);

    List<ItemLogisticsVO> receiveLogisticsList(HttpServletRequest request);

    Boolean checkLogistics(Long id, HttpServletRequest request);

    Page<ItemLogisticsVO> pageLogisticsAdmin(ItemLogisticsForm itemLogisticsForm);
}
